<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html>
<%
	String path = request.getContextPath();
%>
<html>
<head>

<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/icon.css">
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery-3.2.1.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" charset="utf-8"
	src="<%=path%>/script/utf8-jsp/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="<%=path%>/script/utf8-jsp/ueditor.all.min.js">
	
</script>
<script type="text/javascript" charset="utf-8"
	src="<%=path%>/script/utf8-jsp/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
	if (top.location != self.location)
		top.location = self.location;

	$(function() {
		$('#p').panel({
			width : 500,
			height : 450,
			title : '新增长篇小说'
		});
		
		
		  $("#fabiaoBtn").bind('click',function(){
			  
			$("#form").submit();
			  
    });
		
		

	});
</script>

</head>
<body>

	<div style="margin-left: 450px; margin-top: 50px;">
		<form action="<%=path%>/guancangAction/saveAddxiaoshuo" method="post" enctype="multipart/form-data" id="form">
			<div id="p" style="padding: 50px;">
				<div>
					<label>标题</label>&nbsp;&nbsp;&nbsp; <input name="title" class="easyui-textbox"
						style="width: 250px; height: 30px;">
				</div>
				
				<div style="margin-top: 20px;">
				<label>权限</label>&nbsp;&nbsp;&nbsp; 
			<select id="cc" class="easyui-combobox" name="quanxian" style="width:200px;height: 30px">   
			    <option value="公开">公开</option>   
			    <option value="私密">私密</option>   
			</select>  
		</div>
				
				<div style="margin-top: 20px;">
				<label>小说</label>&nbsp;&nbsp;&nbsp;
					<input class="easyui-filebox" name="xiaoshuo" id="xiaoshuo" style="width: 300px" data-options="buttonText:'选择文件'">
				</div>
				<div id="btn">
					<a id="fabiaoBtn" class="easyui-linkbutton"
					data-options="iconCls:'icon-ok'" style="width: 120px; height: 32px;margin-top: 30px;margin-left: 30px">发表</a>
				</div>
			</div>

		</form>
	</div>


</body>

</html>